package com.outfit.job.handler;

import com.xxl.job.core.biz.model.ReturnT;
import com.xxl.job.core.handler.IJobHandler;
import com.xxl.job.core.handler.annotation.JobHandler;
import org.springframework.stereotype.Component;

/**
 * DubboJobHandler
 * @author ming
 * @date 2019-08-30 15:41
 * <p>company: 杭州行装网络技术有限公司</p>
 * <p>修改履历：</p>
 */
@JobHandler(value = "dubboJobHandler")
@Component
public class DubboJobHandler extends IJobHandler {
    /**
     * execute handler, invoked when executor receives a scheduling request
     *
     * @param param 执行参数
     * @return 执行结果
     * @throws Exception 异常信息
     */
    @Override
    public ReturnT<String> execute(String param) throws Exception {

        return SUCCESS;
    }
}
